package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.bean.Slideshow;

import java.util.List;

/**
 * @BelongsProject: cms_00
 * @BelongsPackage: com.briup.cms.service
 * @Author: liwenyi
 * @CreateTime: 2024-11-19  16:26
 * @Description: TODO
 * @Version: 1.0
 */
public interface ISlideshowService {
    //查询所有可用的轮播图
    List<Slideshow> queryAllEnable();
    //根据条件查询轮播图
    IPage<Slideshow> query(Integer pageNum, Integer pageSize, String status, String desc);
    //根据id查询轮播图信息
    Object queryById(Integer id);
    //新增或更新轮播图
    void saveOrUpdate(Slideshow slideshow);
    //批量删除轮播图
    void deleteInBatch(List<Integer> ids);
}
